<extend name="Base/common"/>

<block name="style">
    <link href="__CSS__/event.min.css" rel="stylesheet" type="text/css"/>
</block>
<block name="body">
<include file="_nav"/><!--导航-->

{:W('Common/Adv/render',array(array('name'=>'slider')))}<!--轮播-->
<div id="main-container" class="container">
    <include file="_search"/>
    <div class="event_list_box">
        <volist name="contents" id="vo">
            <div class="col-md-3">
                <div class="event_item">
                <div class="img" style="padding: 0">
                    <if condition="time() lt $vo['eTime']">

                        <else/>
                        <div class="event_state">
                            已结束
                        </div>
                    </if>

                    <a href="{:U('Index/detail',array('id'=>$vo['id']))}">
                        <img class="" src="{$vo.cover_id|getThumbImageById=320,240}" />
                    </a>
                </div>
                <div class="content">
                    <div class="start_time">
                        {:date('Y-m-d h:m',$vo['sTime'])}
                    </div>
                    <h3 class="title">
                        <a href="{:U('Index/detail',array('id'=>$vo['id']))}" class="text-more">
                            {$vo.title}
                        </a>
                    </h3>
                    <div class="address text-ellipsis">
                        <i class="icon icon-map-marker"></i> {$vo.province}{$vo.city}{$vo.district}{$vo.address}
                    </div>
                    
                </div>
                </div>
            </div>
        </volist>
        
            <if condition="count($contents) eq 0">
                <div style="font-size:3em;padding:2em 0;color: #ccc;text-align: center">此分类下暂无内容哦。O(∩_∩)O~</div>
            </if>
        </div>
    </div>

        

</div>

</block>

<block name="script">
    
</block>










